package com.kehutong.wxapi.request;

import org.coraframework.json.annotation.JSONField;

import java.util.List;

/**
 * 编辑客户企业标签请求对象
 * @author: liukunlong
 * @date: 2021-03-04 20:00
 */
public class MarkTagRequest {

    /**
     * 调用接口凭证
     */
    private String accessToken;
    /**
     * 添加外部联系人的userid
     */ /**
     * userid : zhangsan
     * external_userid : woAJ2GCAAAd1NPGHKSD4wKmE8Aabj9AAA
     * add_tag : ["TAGID1","TAGID2"]
     * remove_tag : ["TAGID3","TAGID4"]
     */

    @JSONField(name = "userid")
    private String userid;
    /**
     * 外部联系人userid
     */
    @JSONField(name = "external_userid")
    private String externalUserid;
    /**
     * 要标记的标签列表
     */
    @JSONField(name = "add_tag")
    private List<String> addTag;
    /**
     * 要移除的标签列表
     */
    @JSONField(name = "remove_tag")
    private List<String> removeTag;


    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getExternalUserid() {
        return externalUserid;
    }

    public void setExternalUserid(String externalUserid) {
        this.externalUserid = externalUserid;
    }

    public List<String> getAddTag() {
        return addTag;
    }

    public void setAddTag(List<String> addTag) {
        this.addTag = addTag;
    }

    public List<String> getRemoveTag() {
        return removeTag;
    }

    public void setRemoveTag(List<String> removeTag) {
        this.removeTag = removeTag;
    }
}
